<template>
    <div class="TableModules">
        <el-table 
            :data="data" 
            :row-style="TableRowClassName"
            class="TableModules-table"
            height="100%"
          >
          <slot name="tableContent"></slot>
        </el-table>
    </div>
</template>
    
<script setup>
defineProps({
  data:{
    type: Array,
    default: () => {
      return []
    }
  }
})
</script>
    
<style scoped lang="scss">
.TableModules{
    width: 100%;
    height: 100%;
    &-table{
        width: 100%;
        // font-size: 18px;
    }
}
</style>